package com.yuke.cloud.service.pmc.dao;

import com.yuke.cloud.common.core.mybatis.MyMapper;
import com.yuke.cloud.service.pmc.entity.ProdCategoryAttribute;
import com.yuke.cloud.service.pmc.entity.ProdSpecAttribute;

import java.util.List;

public interface ProdSpecAttributeMapper extends MyMapper<ProdSpecAttribute> {

    List<ProdSpecAttribute> getProdSpecAttrBySpecId(Long specId);
    int deleteBySpecIds(List<Long> specIds);
    List<Long> getSpecAttributeIdsByCateAndAttr(List<ProdCategoryAttribute> prodCategoryAttributes);
    int deleteBySpecAttributeIds(List<Long> specAttributeIds);
}